package com.ruoyi.mes.domain;

import java.math.BigDecimal;
import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 加工单对象 mes_work
 * 
 * @author ruoyi
 * @date 2021-12-13
 */
public class MesWork extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String mesWorkUuid;

    /** 派工外键 */
    @Excel(name = "派工外键")
    private String fkMesDispatchUuid;

    /** 工序id */
    @Excel(name = "工序id")
    private String fkMesProcessExecDetailUuid;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal workQty;

    /** 定额工时初始拷贝《工艺规程》中的值 */
    @Excel(name = "定额工时初始拷贝《工艺规程》中的值")
    private BigDecimal quotaWorkingHours;

    private String attentionUserName;
    private String mesDictProcessCode;
    private String dispatchDocNum;
    private String processContent;
    private String mesDictProcessType;
    private String mesDictProcessName;
    private String wmsDictDeviceType;
    private String wmsDictMeasuringUnit;
    private BigDecimal quotaQtyMin;
    private BigDecimal totalQuotaQtyMin;
    private String dtDocStartBegin;
    private BigDecimal totalQuotaWorkingHours;

    private String dtDocStartEnd;

    private String dtDocFinishBegin;

    private String dtDocFinishEnd;
    private String confirmNickName;
    private String workerName;
    private String sysYesNoQc;
    private String itemSpecification;

    public String getWmsDictDeviceType() {
        return wmsDictDeviceType;
    }

    public void setWmsDictDeviceType(String wmsDictDeviceType) {
        this.wmsDictDeviceType = wmsDictDeviceType;
    }

    /** 开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dtStart;

    /** 完成日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "完成日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dtDone;

    public String getItemSpecification() {
        return itemSpecification;
    }

    public void setItemSpecification(String itemSpecification) {
        this.itemSpecification = itemSpecification;
    }

    public String getSysYesNoQc() {
        return sysYesNoQc;
    }

    public void setSysYesNoQc(String sysYesNoQc) {
        this.sysYesNoQc = sysYesNoQc;
    }

    public String getWorkerName() {
        return workerName;
    }

    public void setWorkerName(String workerName) {
        this.workerName = workerName;
    }

    public BigDecimal getTotalQuotaWorkingHours() {
        return totalQuotaWorkingHours;
    }

    public void setTotalQuotaWorkingHours(BigDecimal totalQuotaWorkingHours) {
        this.totalQuotaWorkingHours = totalQuotaWorkingHours;
    }

    public BigDecimal getTotalQuotaQtyMin() {
        return totalQuotaQtyMin;
    }

    public void setTotalQuotaQtyMin(BigDecimal totalQuotaQtyMin) {
        this.totalQuotaQtyMin = totalQuotaQtyMin;
    }

    public String getConfirmNickName() {
        return confirmNickName;
    }

    public void setConfirmNickName(String confirmNickName) {
        this.confirmNickName = confirmNickName;
    }

    public String getDtDocStartBegin() {
        return dtDocStartBegin;
    }

    public void setDtDocStartBegin(String dtDocStartBegin) {
        this.dtDocStartBegin = dtDocStartBegin;
    }

    public String getDtDocStartEnd() {
        return dtDocStartEnd;
    }

    public void setDtDocStartEnd(String dtDocStartEnd) {
        this.dtDocStartEnd = dtDocStartEnd;
    }

    public String getDtDocFinishBegin() {
        return dtDocFinishBegin;
    }

    public void setDtDocFinishBegin(String dtDocFinishBegin) {
        this.dtDocFinishBegin = dtDocFinishBegin;
    }

    public String getDtDocFinishEnd() {
        return dtDocFinishEnd;
    }

    public void setDtDocFinishEnd(String dtDocFinishEnd) {
        this.dtDocFinishEnd = dtDocFinishEnd;
    }

    public String getWmsDictMeasuringUnit() {
        return wmsDictMeasuringUnit;
    }

    public void setWmsDictMeasuringUnit(String wmsDictMeasuringUnit) {
        this.wmsDictMeasuringUnit = wmsDictMeasuringUnit;
    }

    public BigDecimal getQuotaQtyMin() {
        return quotaQtyMin;
    }

    public void setQuotaQtyMin(BigDecimal quotaQtyMin) {
        this.quotaQtyMin = quotaQtyMin;
    }

    public Date getDtStart() {
        return dtStart;
    }

    public void setDtStart(Date dtStart) {
        this.dtStart = dtStart;
    }

    public Date getDtDone() {
        return dtDone;
    }

    public void setDtDone(Date dtDone) {
        this.dtDone = dtDone;
    }

    public String getAttentionUserName() {
        return attentionUserName;
    }

    public void setAttentionUserName(String attentionUserName) {
        this.attentionUserName = attentionUserName;
    }

    public String getMesDictProcessCode() {
        return mesDictProcessCode;
    }

    public void setMesDictProcessCode(String mesDictProcessCode) {
        this.mesDictProcessCode = mesDictProcessCode;
    }

    public String getDispatchDocNum() {
        return dispatchDocNum;
    }

    public void setDispatchDocNum(String dispatchDocNum) {
        this.dispatchDocNum = dispatchDocNum;
    }

    public String getProcessContent() {
        return processContent;
    }

    public void setProcessContent(String processContent) {
        this.processContent = processContent;
    }

    public String getMesDictProcessType() {
        return mesDictProcessType;
    }

    public void setMesDictProcessType(String mesDictProcessType) {
        this.mesDictProcessType = mesDictProcessType;
    }

    public String getMesDictProcessName() {
        return mesDictProcessName;
    }

    public void setMesDictProcessName(String mesDictProcessName) {
        this.mesDictProcessName = mesDictProcessName;
    }

    /** 加工单（员工）信息 */
    private List<MesWorkWorkers> mesWorkWorkersList;

    public void setMesWorkUuid(String mesWorkUuid) 
    {
        this.mesWorkUuid = mesWorkUuid;
    }

    public String getMesWorkUuid() 
    {
        return mesWorkUuid;
    }
    public void setFkMesDispatchUuid(String fkMesDispatchUuid) 
    {
        this.fkMesDispatchUuid = fkMesDispatchUuid;
    }

    public String getFkMesDispatchUuid() 
    {
        return fkMesDispatchUuid;
    }
    public void setFkMesProcessExecDetailUuid(String fkMesProcessExecDetailUuid) 
    {
        this.fkMesProcessExecDetailUuid = fkMesProcessExecDetailUuid;
    }

    public String getFkMesProcessExecDetailUuid() 
    {
        return fkMesProcessExecDetailUuid;
    }
    public void setWorkQty(BigDecimal workQty) 
    {
        this.workQty = workQty;
    }

    public BigDecimal getWorkQty() 
    {
        return workQty;
    }
    public void setQuotaWorkingHours(BigDecimal quotaWorkingHours) 
    {
        this.quotaWorkingHours = quotaWorkingHours;
    }

    public BigDecimal getQuotaWorkingHours() 
    {
        return quotaWorkingHours;
    }


    public List<MesWorkWorkers> getMesWorkWorkersList()
    {
        return mesWorkWorkersList;
    }

    public void setMesWorkWorkersList(List<MesWorkWorkers> mesWorkWorkersList)
    {
        this.mesWorkWorkersList = mesWorkWorkersList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mesWorkUuid", getMesWorkUuid())
            .append("fkMesDispatchUuid", getFkMesDispatchUuid())
            .append("fkMesProcessExecDetailUuid", getFkMesProcessExecDetailUuid())
            .append("workQty", getWorkQty())
            .append("quotaWorkingHours", getQuotaWorkingHours())
            .append("sysNormalDisable", getSysNormalDisable())
            .append("docTitle", getDocTitle())
            .append("docNum", getDocNum())
            .append("docDt", getDocDt())
            .append("docNote", getDocNote())
            .append("fkAttentionUserId", getFkAttentionUserId())
            .append("fkConfirmUserId", getFkConfirmUserId())
            .append("confirmDt", getConfirmDt())
            .append("oaDictConfirmStatus", getOaDictConfirmStatus())
            .append("confirmNote", getConfirmNote())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("mesWorkWorkersList", getMesWorkWorkersList())
            .toString();
    }
}
